<template>
  <div class="flex-center flex-col">
    <exception-svg :color="theme.themeColor" type="500"></exception-svg>
    <router-link to="/">
      <n-button type="primary">回到首页</n-button>
    </router-link>
  </div>
</template>

<script setup lang="ts">
import { ExceptionSvg } from '@/components'
import { useThemeStore } from '@/store'

const theme = useThemeStore()
</script>

<style scoped></style>
